﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DtoFw.Query
{
  public  class CaseReqDto: BaseOperator
    {

        public string CaseNo { get; set; }

        public string InspectionNo { get; set; }

        public string CaseName { get; set; }

        public string CaseTypeCode { get; set; }

        public string CaseTypeName { get; set; }
 
        public DateTime? CaseTime { get; set; }

        public string CasePlace { get; set; }

        public long HostUserId { get; set; }

        public string HostUserName { get; set; }

        public long HostUserOrgan { get; set; }

        public string HostUserOrganName { get; set; }

        public string BriefCase { get; set; }

        public string PhysicalEvidenceDescribe { get; set; }

        public string Flag { get; set; } = "0";
        /// <summary>
        /// 0手录/1现勘/2送检
        /// </summary>
        public int Source { get; set; } = 1;

        public string Remark { get; set; }

        public string Extend1 { get; set; }

        public string Extend2 { get; set; }

        public string Extend3 { get; set; }

        public string Extend4 { get; set; }

        public string Extend5 { get; set; }
    }

    public class CasePostReqDto : CaseReqDto 
    {
    
    }
    public class CaseEvidencePostReqDto : CaseReqDto
    {
        public List<EvidencePostReqDto> evidences { get; set; }
    }
    public class CasePutReqDto : CaseReqDto
    {
        public long Id { get; set; }
    }

    public class CaseQueryDto : BaseQuery 
    {
        public string CaseNo { get; set; }
        public string InspectionNo { get; set; }
        public string CaseName { get; set; }
        public DateTime? CaseTimeStart { get; set; }
        public DateTime? CaseTimeEnd { get; set; }
        public string HostUserName { get; set; }
        public string HostUserOrganName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

    }
    public class CaseTransfereQueryDto : CaseQueryDto
    {
        /// <summary>
        /// first 未/second 已
        /// </summary>
        public string ActiveName { get; set; }
        /// <summary>
        ///  借调 1  检验 2  发还 3  销毁 4 移交 5 回库 6  更换位置7  入库8
        /// </summary>
        public int DeliveryDicType { get; set; }
    }
}
